<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page session="true"%>

<!DOCTYPE html>
<html lang="en">
<head>

<title>Signin Template for Bootstrap</title>


<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"
	href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href="signin.css" rel="stylesheet">
<link href="<c:url value="resources/bootstrap/css/form.css"/>"
	rel="stylesheet" />
	<script type="text/javascript" src="<c:url value="resources/bootstrap/js/captcha.js"/>"></script>
</head>

<body>
	<div class="container">
		<div class="content">
			<form class="form-signin" role="form"
				action="<c:url value="/j_spring_security_check" />" method='POST'>
				<h1 align="center">

					<span class="label label-default"><img id="csclogo"
						src="resources/img/csc_logo.png"> Sign In</span>
				</h1>
				<c:if test="${not empty error}">
					<div class="error">	<div class="alert alert-warning" role="alert">${error}</div></div>
				</c:if>
				<c:if test="${not empty msg}">
					<div class="msg">

						<div class="alert alert-warning" role="alert">${msg}</div>
					</div>
				</c:if>

				<br> <input type="text" class="form-control"
					placeholder="Account ID" name="username" required autofocus>
				<input type="password" class="form-control" placeholder="Password"
					name="password" required> <input type="checkbox"
					value="remember-me"> Remember me
				<!-- //added code start here -->
\   
				
				
				
				<!-- //added code end here -->
				<button class="btn btn-lg btn-danger btn-block" type="submit"
					value="submit" name="submit" onclick="return ValidCaptcha();">Sign in</button>
				<input type="hidden" name="${_csrf.parameterName}"
					value="${_csrf.token}" />
			</form>
		</div>
	</div>
	<!-- /container -->


</body>


</html>